package com.xa.xamall.framework.model;

import java.io.Serializable;

/**
 * 枚举键值实体类
 */
public class EnumValue implements Serializable {

    private static final long serialVersionUID = -8186465818350690170L;
    private String name;
    private int key;
    private Object value;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getKey() {
        return key;
    }

    public void setKey(int key) {
        this.key = key;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public EnumValue(String name, int key, Object value) {
        this.name = name;
        this.key = key;
        this.value = value;
    }
}
